package com.example.demo.client.evt.cssmqry.role;

import com.ffcs.oss.param.in.QueryPageEvt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author linxiao
 * @Date 2020/06/24  17:14
 */
@ApiModel(description = "查询用户关联的角色信息-入参")
public class QryUserRoleEvt extends QueryPageEvt implements Serializable {
    private static final long serialVersionUID = -2168298297174174381L;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("当前登录名")
    private String loginName;
    @ApiModelProperty("用户id")
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "QryRoleEvt{" +
            "roleName='" + roleName + '\'' +
            ", loginName='" + loginName + '\'' +
            ", userId=" + userId +
            '}';
    }
}
